home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / etc / ns / XEmacs.post_install < prev    next >
Encoding:
Text File  |  1995-07-11  |  777 b   |  20 lines

  1. #!/bin/sh
  2. PACKAGEDIR="$1"
  3. INSTALLDIR="$2"
  4. echo
  5. echo "Creating links from /usr/local/bin to the XEmacs binaries."
  6. /bin/mkdirs /usr/local/bin
  7. /bin/ln -s $INSTALLDIR/XEmacs.app/bin/* /usr/local/bin
  8.  
  9. echo "Creating links from /usr/local/man subdirectories to the XEmacs man pages."
  10. /bin/mkdirs /usr/local/man/man1 /usr/local/man/man6
  11. /bin/ln -s $INSTALLDIR/XEmacs.app/man/man1/* $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/celibacy.1 $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/condom.1 /usr/local/man/man1
  12. /bin/ln -s  $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/sex.6 /usr/local/man/man6
  13.  
  14. echo "Creating a link from /usr/local/lib/xemacs-19.13 to the XEmacs library directory."
  15. /bin/mkdirs /usr/local/lib
  16. /bin/ln -s $INSTALLDIR/XEmacs.app/lib/xemacs-19.13 /usr/local/lib
  17.  
  18. echo "Done."
  19. exit 0
  20.